<?php
	
	require_once "Zend/Json.php";
	require_once "Zend/Validate/Alnum.php";
	$page = $params[0];
	$id = $params[1];
	
	if ( $_POST['status'] == "allowed")
	{
		echo Zend_Json::encode( $plugins -> storage -> garbageExistingGroup( $id, $page ) );
	}